{%- if current_version %}
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
  <span class="rst-current-version" data-toggle="rst-current-version">
    <span class="fa fa-book"> Other Versions</span>
    v: {{ current_version.name }}
    <span class="fa fa-caret-down"></span>
  </span>
  <div class="rst-other-versions">
    {%- if True %}
    <dl>
       <dt>Languages</dt>
       {% for the_language, url in languages %}
          {% if the_language == current_language %}
            <dd class="rtd-current-item"><a href="#">{{ the_language }}</a></dd>
          {% elif current_language == "en" %}
            <dd><a href="../{{ the_language }}/index.html">{{ the_language }}</a></dd>
          {% else %}
            <dd><a href="../../{{ url }}/index.html">{{ the_language }}</a></dd>
          {% endif %}
       {% endfor %}
    </dl>
    {%- endif %}
    {%- if versions.tags %}
    <dl>
      <dt>Tags</dt>
      {%- for item in versions.tags %}
      <dd><a href="{{ item.url }}">{{ item.name }}</a></dd>
      {%- endfor %}
    </dl>
    {%- endif %}
    {%- if versions.branches %}
    <dl>
      <dt>Branches</dt>
      {%- for item in versions.branches %}
      <dd><a href="{{ item.url }}">{{ item.name }}</a></dd>
      {%- endfor %}
    </dl>
    {%- endif %}
    {%- if current_version.artefacts %}
    <dl>
      <dt>Downloads</dt>
      {%- for artefact in current_version.artefacts %}
      <dd><a href="{{ artefact.url }}">{{ artefact.name }}</a></dd>
      {%- endfor %}
    </dl>
    {%- endif %}
  </div>
</div>
{%- endif %}